using try and except block for error handling

welcome to shbcf.ru